{extend name="public:_base" /}
{block name="js"}
{include file="public/_validform"}

{/block}
{block name="main"}


<div class="page-container">
    <form name="" method="post" action="{:\\think\\Url::build(\'dolistsave\')}" id="form">

        <div class="cl pd-5 bg-1 bk-gray">

            <span>
                <a class="btn radius btn-primary radius" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['status'=>0])}">未阅</a>
            </span>
            <span>
                <a class="btn radius btn-secondary radius" href="{:url(\''.\\think\\Request::instance()->controller().'/index',['status'=>1])}">已阅</a>
            </span>

            <span>
                <input name="inputtype" id="style" value="" type="hidden"/>
                <button class="btn radius btn-danger radius " name="del" onclick="test(this)"><i
                        class="Hui-iconfont"></i> 删除</button>
            </span>
            <span class="r">信息：<strong>{$num|default="0"}</strong></span>
        </div>

        <div class="mt-10">
            <table class="layui-table">
                <thead>
                <tr class="text-c">
                    <th width="40"><input name="" type="checkbox" value=""></th>
                    <th width="40">序号</th>
                    <th width="100">职位</th>
                    <th width="100">状态</th>
                    <th width="100">时间</th>
                    <th width="100">操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo" empty="$_html_empty"}
                <tr class="text-c va-m">
                    <td><input name="id[]" type="checkbox" value="{$vo.id}"></td>
                    <td>{$Think.get.page?(($Think.get.page-1)*$Think.config.paginate.list_rows+$i):($i)}</td>
                    <td class="text-l">
                        <a href="index-job-detailed-id-{$vo.jid}.html" target="_blank" >{$vo.title}</a>
                    </td>
                    <td class="text-l">
                        {$vo.status|check}
                    </td>
                    <td class="text-l">
                        {$vo.create_time}
                    </td>
                    <td class="text-l">
                        <a style="text-decoration:none" class="btn radius btn-xs btn-warning"
                           onClick="edit('应标信息：{$vo.title}','{:url(\''.\\think\\Request::instance()->controller().'/read',['id'=>$vo.id,'uid'=>$vo.uid])}','10001')"
                          href="javascript:;"
                           title="查看">查看</a>
                    </td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
    </form>
    {$list->render()}

</div>
{/block}